package sevensoft.行为型模式.状态模式;

public class NoneState extends GunState{

    @Override
    public void load() {
        this.context.setGunState(Context.LOAD);
        System.out.println("装填");
    }

    @Override
    public void shoot() {
        this.context.setGunState(Context.NONE);
        System.out.println("没子弹了");
    }

    @Override
    public void none() {

    }
}
